package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.EquipmentMaintenanceDetail;

/**
 * maintenanceService接口
 * 
 * @author admin
 * @date 2020-07-20
 */
public interface IEquipmentMaintenanceDetailService 
{
    /**
     * 查询maintenance
     * 
     * @param id maintenanceID
     * @return maintenance
     */
    public EquipmentMaintenanceDetail selectEquipmentMaintenanceDetailById(Long id);

    /**
     * 查询maintenance列表
     * 
     * @param equipmentMaintenanceDetail maintenance
     * @return maintenance集合
     */
    public List<EquipmentMaintenanceDetail> selectEquipmentMaintenanceDetailList(EquipmentMaintenanceDetail equipmentMaintenanceDetail);
    public List<EquipmentMaintenanceDetail> selectEquipmentMaintenanceDetailByMaintenanceId(Long id);

    /**
     * 新增maintenance
     * 
     * @param equipmentMaintenanceDetail maintenance
     * @return 结果
     */
    public int insertEquipmentMaintenanceDetail(EquipmentMaintenanceDetail equipmentMaintenanceDetail);

    /**
     * 修改maintenance
     * 
     * @param equipmentMaintenanceDetail maintenance
     * @return 结果
     */
    public int updateEquipmentMaintenanceDetail(EquipmentMaintenanceDetail equipmentMaintenanceDetail);

    /**
     * 批量删除maintenance
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteEquipmentMaintenanceDetailByIds(String ids);

    /**
     * 删除maintenance信息
     * 
     * @param id maintenanceID
     * @return 结果
     */
    public int deleteEquipmentMaintenanceDetailById(Long id);
}
